package com.renren.webmaven2.domain;

public class User {

	private String id;
	private String firstname;

	public User() {
	};

	public User(String id, String firstname) {
		super();
		this.id = id;
		this.firstname = firstname;
	}

	public User myUser(String id, String firstname) {
		User user = new User();
		user.setId(id);
		user.setFirstname(firstname);
		return user;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", firstname=" + firstname + "]";
	}
}
